package com.example.featuresdk.database

import com.example.featuresdk.dao.UserDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
class CoreDatabaseCallbackProvider {
    @Provides
    @Singleton
    fun callback(userDao: UserDao) = CoreDatabaseCallback(userDao)
}